/*
 * 1 我的订单
 * 2 供应商订单
 */
const orderApi = ['route=order.list', 'route=order.list.waitPay', 'route=order.list.waitSend',
	'route=order.list.waitReceive', 'route=order.list.Completed'
]
const supplierApi = [
	'route=plugin.supplier.frontend.order.index',
	'route=plugin.supplier.frontend.order.wait-pay',
	'route=plugin.supplier.frontend.order.wait-send',
	'route=plugin.supplier.frontend.order.wait-receive',
	'route=plugin.supplier.frontend.order.completed',
]
const returnApi = [
	'route=plugin.supplier.frontend.order.refund',
	'route=order.list.refund',
]

const packageApi = [
	'route=plugin.supplier.frontend.order.pack',
	'route=order.list.pack',
]

const sellApi = [
	'route=plugin.supplier.frontend.order.returnable',
	'route=order.list.waitPay',
]


const orderTabs = [{
	id: 0,
	name: '全部'
}, {
	id: 1,
	name: '待付款'
}, {
	id: 2,
	name: '待发货'
}, {
	id: 3,
	name: '待收货'
}, {
	id: 4,
	name: '已完成'
}]

const supplierTabs = [{
	id: 0,
	name: '全部'
}, {
	id: 1,
	name: '待付款'
}, {
	id: 2,
	name: '待发货'
}, {
	id: 3,
	name: '待收货'
}, {
	id: 4,
	name: '已完成'
}]

const returnTabs = [{
	id: 0,
	name: '供应商'
}, {
	id: 1,
	name: '客户'
}]
const packageTabs = [{
	id: 0,
	name: '供应商'
}, {
	id: 1,
	name: '客户'
}]

const sellTabs = [{
	id: 0,
	name: '供应商'
}, {
	id: 1,
	name: '客户'
}]
export {
	orderApi,
	supplierApi,
	returnApi,
	packageApi,
	sellApi,
	orderTabs,
	supplierTabs,
	returnTabs,
	packageTabs,
	sellTabs
}